﻿using System;

namespace UnityEngine.PostProcessing
{
	// Token: 0x0200010C RID: 268
	[Serializable]
	public class UserLutModel : PostProcessingModel
	{
		// Token: 0x170000A9 RID: 169
		// (get) Token: 0x06000642 RID: 1602 RVA: 0x000257F8 File Offset: 0x000239F8
		// (set) Token: 0x06000643 RID: 1603 RVA: 0x00025800 File Offset: 0x00023A00
		public UserLutModel.Settings settings
		{
			get
			{
				return this.m_Settings;
			}
			set
			{
				this.m_Settings = value;
			}
		}

		// Token: 0x06000644 RID: 1604 RVA: 0x0002580C File Offset: 0x00023A0C
		public override void Reset()
		{
			this.m_Settings = UserLutModel.Settings.defaultSettings;
		}

		// Token: 0x04000608 RID: 1544
		[SerializeField]
		private UserLutModel.Settings m_Settings = UserLutModel.Settings.defaultSettings;

		// Token: 0x0200010D RID: 269
		[Serializable]
		public struct Settings
		{
			// Token: 0x170000AA RID: 170
			// (get) Token: 0x06000645 RID: 1605 RVA: 0x0002581C File Offset: 0x00023A1C
			public static UserLutModel.Settings defaultSettings
			{
				get
				{
					return new UserLutModel.Settings
					{
						lut = null,
						contribution = 1f
					};
				}
			}

			// Token: 0x04000609 RID: 1545
			[Tooltip("Custom lookup texture (strip format, e.g. 256x16).")]
			public Texture2D lut;

			// Token: 0x0400060A RID: 1546
			[Range(0f, 1f)]
			[Tooltip("Blending factor.")]
			public float contribution;
		}
	}
}
